//logs.js
Page({
  data: {
    logs: []
  },
  onShow: function() {
    var logs = wx.getStorageSync("logs")
    console.log(logs)
    if (logs) {
      this.setData({ logs: logs.reverse() })
    }
  }
})
